package org.example.apifallback.demo;

import org.example.apifallback.demo.entity.DemoVO;

import java.util.List;
import java.util.Map;

/**
 * @author zengxiaoyu
 * @date 2025/7/31 17:15
 */
@FeignClient(name = ApiConstants.NAME,
        path = ApiConstants.PREFIX + "/customer/bill-fee",
        dismiss404 = true)
@Tag(name = "RPC 服务 - 账单查询 信息")
public interface DemoApi {

    public CommonResult<List<DemoVO<String>>> computeCustomerUnPaidBillNum(@RequestParam(value = "customerId", required = true) Long customerId);


    public CommonResult<Map<String, DemoVO<Long>>> computeBillFee(@RequestParam(value = "customerId", required = true) DemoVO<Map<String, Object>> demoReq);

    public CommonResult<String> computeBillNum(@RequestParam(value = "customerId", required = true) DemoVO<Map<String, Object>> demoReq);
}
